<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录页面</title>
</head>
<body>
	<form action="<%=request.getContextPath()%>/loginServlet" method="post">
		<%
			if (request.getAttribute("message") != null) {
		%>
		<p><%=request.getAttribute("message")%></p>
		<%
			}
		%>
		<p>
			用户名：<input type="text" name="name" id="name" />
		</p>
		<p>
			密 码：<input type="password" name="password" id="password" />
		</p>
		<p>
			<input type="submit" value="登录" /><a
				href="<%=request.getContextPath()%>/JSP/Regist.jsp">注册</a>
		</p>
	</form>
</body>
</html>